using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("SlidingTray")]
	public class SlidingTray : MonoBehaviour
	{
		public Transform m_trayHiddenBone => method_3<Transform>("m_trayHiddenBone");

		public Transform m_trayShownBone => method_3<Transform>("m_trayShownBone");

		public bool m_inactivateOnHide => method_2<bool>("m_inactivateOnHide");

		public bool m_useNavigationBack => method_2<bool>("m_useNavigationBack");

		public bool m_playAudioOnSlide => method_2<bool>("m_playAudioOnSlide");

		public float m_traySlideDuration => method_2<float>("m_traySlideDuration");

		public bool m_animateBounce => method_2<bool>("m_animateBounce");

		public PegUIElement m_offClickCatcher => method_3<PegUIElement>("m_offClickCatcher");

		public PegUIElement m_traySliderButton => method_3<PegUIElement>("m_traySliderButton");

		public bool m_trayShown => method_2<bool>("m_trayShown");

		public bool m_traySliderAnimating => method_2<bool>("m_traySliderAnimating");

		public bool m_startingPositionSet => method_2<bool>("m_startingPositionSet");

		public GameLayer m_hiddenLayer => method_2<GameLayer>("m_hiddenLayer");

		public GameLayer m_shownLayer => method_2<GameLayer>("m_shownLayer");

		public SlidingTray(IntPtr address, string className)
			: base(address, className)
		{
		}

		public SlidingTray(IntPtr address)
			: this(address, "SlidingTray")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void Start()
		{
			method_8("Start");
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public void ShowTray()
		{
			method_8("ShowTray");
		}

		public void HideTray()
		{
			method_8("HideTray");
		}

		public void ToggleTraySlider(bool show, Transform target, bool animate)
		{
			method_8("ToggleTraySlider", show, target, animate);
		}

		public bool TraySliderIsAnimating()
		{
			return method_11<bool>("TraySliderIsAnimating", Array.Empty<object>());
		}

		public bool IsTrayInShownPosition()
		{
			return method_11<bool>("IsTrayInShownPosition", Array.Empty<object>());
		}

		public bool IsShown()
		{
			return method_11<bool>("IsShown", Array.Empty<object>());
		}

		public void SetLayers(GameLayer visible, GameLayer hidden)
		{
			method_8("SetLayers", visible, hidden);
		}

		public bool BackPressed()
		{
			return method_11<bool>("BackPressed", Array.Empty<object>());
		}

		public void OnTraySliderAnimFinished()
		{
			method_8("OnTraySliderAnimFinished");
		}

		public void OnTraySliderPressed(UIEvent e)
		{
			method_8("OnTraySliderPressed", e);
		}

		public void OnClickCatcherPressed(UIEvent e)
		{
			method_8("OnClickCatcherPressed", e);
		}

		public void FadeEffectsIn(float time)
		{
			method_8("FadeEffectsIn", time);
		}

		public void FadeEffectsOut(float time)
		{
			method_8("FadeEffectsOut", time);
		}

		public void OnFadeFinished()
		{
			method_8("OnFadeFinished");
		}
	}
}
